<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>赵阁予</title>
</head>
<!-- 1. 引入react核心库 -->
<script src="../../../../node_modules/react/umd/react.development.js"></script>
<!-- <script src="../node_modules/react/umd/react.development.js"></script> -->
<!-- 2. 引入react-dom 用于支持react操作dom -->
<script src="../../../../node_modules/react-dom/umd/react-dom.development.js"></script>
<script src="../../../../node_modules/@babel/standalone/babel.min.js"></script>
<div id="root"></div>
<script type="text/babel">
    let names = <div className='box'>
        <h1 className='title' style={{color:'red',fontSize:30}}>你好世界</h1>
        <ul className='list'>
            <li>1. 张三</li>
            <li>2. 张三</li>
            <li>3. 张三</li>
          </ul>
    </div>
    let rooe = ReactDOM.createRoot(document.getElementById('root'))
    rooe.render(names)
</script>
<body>

</body>

</html>